<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/resource/UserPwoer.tld" prefix="p"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("fnId", request.getAttribute("fnId"));
	pageContext.setAttribute("userPwoer", request.getSession().getAttribute("userPwoer"));
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>
	<style>
	.article-tit{font-family: "宋体";font-weight: bold;font-size: 25px;}
    .article-con{text-indent: 2em;padding: 10px;line-height: 28px;font-size: 20px;}
    .infos{
            border: #ccc 1px dashed;
            text-align: center;
            padding: 5px 0;
            margin:15px;
            color: #999;
        }
        .infos span{
            padding: 0 10px;
            padding: 
        }
        .next-btn{margin:20px 0 0;}
</style>
</head>
<body class="gray-bg">
	<div class="" ></div>
	<div class="ibox-content">
		<h2 class="text-center article-tit">开发规范</h2>
    	<p class="infos"><span class="time">发布时间：2016-12-09</span></p>
    	<div class="article-tit" style="font-size: 22px;">
    		常用工具说明
    	</div>
    	
    	<div    class="article-con">
        	1、公司常用软件下载地址
    	</div>
    	<div    class="article-con">
        	ftp:10.0.0.2
    	</div>
    	<div    class="article-con">
        	工具：FileZilla
    	</div>
    	<div    class="article-con">
        	用户名：zking
    	</div>
    	<div    class="article-con">
		密码：123456
		</div>
		<div    class="article-con">
		2、eclipse 版本
		</div>
		<div    class="article-con">
eclipse-jee-mars
</div>
<div    class="article-con">
3、git版本
</div>
<div    class="article-con">
内部开发管理库地址: http://10.0.0.2/
</div>
<div    class="article-con">
4、任务管理
</div>
<div    class="article-con">
             工具：极客平台
</div>
<div    class="article-con">            
             地址： geek.zkingsoft.com
</div>             
<div    class="article-con">            
使用：第一次使用本地git发布工程，其后在开发过程中使用eclipse自带的git插件来来取、上传代码
</div>
<div    class="article-con">
5、内部交流
</div>
<div    class="article-con">       
       工具：钉钉
</div>
<div    class="article-con">      
       使用：交流、请假、链接git、禅道
</div>
<div    class="article-con">
6、数据库
</div>
<div    class="article-con">
    工具：mysql   5.6  
</div>   
    <div    class="article-con">
    地址：10.0.0.3
    </div>
    <div    class="article-con">
7、网页工具：HBuilder
</div>
<div    class="article-con">
8、原型工具：Axure
</div>
<div    class="article-con">
9、数据库设计工具：PowerDesigner 15
</div>
<div    class="article-con">
10：服务器链接工具：SecureCRTPortable
</div>
<div    class="article-con">
11:思维导图工具：XMind 6
</div>
<div   class="article-tit" style="font-size: 22px;">
命名规范
</div>
<div    class="article-con">
	一般统一采用英文命名，如果变量特别多且单词复杂可以简写或者使用拼音，用词尽量准确简单，不能使用无意义的简写缩写，命名风格采用驼峰法。
</div>
<div    class="article-con">
变量命名：
</div>
<div    class="article-con">
Java
</div>
<div    class="article-con">
例：dataTime
</div>
<div    class="article-con">
javsScript
</div>
<div    class="article-con">
例：dataTime
</div>
<div    class="article-con">
方法命名：
</div>
<div    class="article-con">
例： public  void  userRegist()
</div>
<div    class="article-con">
类命名：
</div>
<div    class="article-con">
1、action层：实体类名称+Controller
</div>
<div    class="article-con">
2、service层：实体类名称+Service
</div>
<div    class="article-con">
3、service实现层：实体类名称+ServiceImpl
</div>
<div    class="article-con">
4、dao层：实体类名称+Dao
</div>
<div    class="article-con">
5、dao实现层或者dao XML配置文件：实体类名称+Dao.java  / 体类名称+Dao.xml
</div>
<div    class="article-con">
6、实体类名称与表名称对应
</div>
<div    class="article-con">
包命名：
</div>
<div    class="article-con">
公司包名统一前缀：com.zkingsoft
</div>
<div    class="article-con">
Jsp文件命名：
</div>
<div    class="article-con">
jsp页面名称采用斜杠隔开单词如：user-list.jsp
</div>
<div    class="article-con">
Javascript/Css 文件命名：
</div>
<div    class="article-con">
统一采用驼峰法命名
</div><div    class="article-con">

注释风格与模板
</div>
<div    class="article-con">
java注释通过模板生成，开发人员需要配置自己的模板
</div>
<div    class="article-con">
类注释
</div>
<div    class="article-con">
/**
</div>
<div    class="article-con">
* @description 类的描述
</div>
<div    class="article-con">
* @author 作者姓名
</div>
<div    class="article-con">
* @email 作者的email
</div>
<div    class="article-con">
* @date 2015-10-08 
</div>
<div    class="article-con">
*/
</div>
<div    class="article-con">

方法注释
</div>
<div    class="article-con">
/** 
</div>
<div    class="article-con">
* @Description: 方法描述
</div>
<div    class="article-con">
* @author:姜友瑶
</div>
<div    class="article-con">
* ${tags} 
</div>
<div    class="article-con">
* 返回类型  ${return_type} 
</div>
<div    class="article-con">
* @date ${date} 
</div>
<div    class="article-con">
*/
</div>
<div    class="article-con">



JavaScript注释
</div>
<div    class="article-con">
/**
</div>
<div    class="article-con">

文件描述
</div>
<div    class="article-con">
@author 作者姓名
</div>
<div    class="article-con">

*/
</div>
<div    class="article-con">

/**
</div>
<div    class="article-con">
方法说明
</div>
<div    class="article-con">
*/
</div>
<div    class="article-con">
function test(){
</div>
<div    class="article-con">
//普通注释
</div>
<div    class="article-con">
console.log("测试");
</div>
<div    class="article-con">
}
</div>
		<div class="row next-btn" >
				<button class="btn btn-primary center-block" onclick="answerQuestions()" >下一步</button>
		</div>
		
	</div>
	
	<script type="text/javascript">
		function answerQuestions(){
			layer.full(layer.open({
				type : 2,
				title : "回答问题",
				area : [ MUI.SIZE_L, '400px' ],
				maxmin : true,
				content : [ '${path}/admin/redirect/answer-question2-list']
			}));
		}
		
	</script>
</body>
</html>
